<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // 一,创建对象有几种方法?
      // 01.字面量创建?
      let obj = {};

      // 02.new一个对象
      let obj1 = new Object();

      // 03.构造函数创建对象
      function Fun() {}
      let obj2 = new Fun();
      console.log(obj2);
    </script>
  </body>
</html>
